// 应用一个全局的变量
@import "../../../assets/less/global_style";

// 便是状态的小圆
.state-circle {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translateY(2px);
}
// nav-bar margin-bottom 造成height的位置往下移动
.left-nav{
  .search {
    width: 100%;
    border-bottom: @lineGray;
    height: fit-content;
    overflow: hidden;
    padding-bottom: 10px;
    form {
      width: calc(~"100% - 20px");
      margin: 10px;
      button {
        width: 37px;
        float: right;
      }
      .form-group {
        float: left;
        width: calc(~"100% - 47px");
        margin-bottom: 5px;
        input {
          width: 100%;
          font: @font14;
        }
      }
      select {
        float: left;
        width: calc(~"50% - 28px");
        height: 25px;
        font: @font12;
        padding: 0 2%;
        margin: 0;
        option:nth-child(1) {
          font-weight: bold;
          font-size: 14px;
        }
      }
      select:nth-child(1) {
        margin-right: 10px;
      }
    }
  }
  .result {
    width: 100%;
    height: calc(~"100% - 85px");

    .result-sort {
      margin: 8px 0;
      text-align: center;
      height: 25px;
      line-height: 25px;
      font-size: 14px;
    }
    .result-notes {
      text-align: center;
      font-size: 12px;
      p {
        display: inline-block;
        height: 25px;
        line-height: 25px;
        overflow: hidden;
        margin: 0 5px;
        span {
          .state-circle();
        }
      }
    }
    .result-content {
      height: calc(~"100% - 90px");
      width: 100%;
      overflow-y: auto;
      margin-top: 10px;
      position: relative;
      .result-content-note {
        position: absolute;
        text-align: center;
        width: 100%;
        .block-top-center();
        transform: translateY(-50px);
        font-size: 18px;
      }
      .result-item {
        padding: 10px 10px;
        height: 70px;

        &:hover {
          background-color: @bkWhite;
        }
        &>*:hover{
          cursor: pointer;
        }
        h1 {
          height: 30px;
          font-size: 15px;
          color: @bkBlue;
          span {
            .state-circle();
            margin-right: 10px;
          }
        }
        p{
          font-size: 12px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          color: @fontGray;
         /* &:hover {
            text-overflow: unset;
            overflow: unset;
            position: absolute;
            z-index: @zIndex4;
            padding:0 5px;
          }*/
        }
      }
    }
  }
}

.content-wrap {
  #BMap {
    width: 100%;
    height: 100%;
  }
}